//
//  MyOrderStateTableViewCell.h
//  customer
//
//  Created by Holothurian on 2018/10/30.
//  Copyright © 2018年 yinlong. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol MyOrderStateTableCellDelegate <NSObject>

- (void)orderStateCancelButtonIndexPath:(NSIndexPath *)indexPath ActionTag:(NSInteger)actionTag;

- (void)orderStateDetailButtonIndexPath:(NSIndexPath *)indexPath ActionTag:(NSInteger)actionTag;

@end

@interface MyOrderStateTableViewCell : UITableViewCell

@property (nonatomic,strong)NSIndexPath *indexPath;

@property (nonatomic,weak)id<MyOrderStateTableCellDelegate>delegate;

- (void)cellForOrderLayout:(OrderBaseModel *)model;


@end


/**
 订单状态
 */
@interface MyOrderDetailOrderStateTableCell : UITableViewCell

/**
 订单状态
 */
@property (nonatomic,strong)UILabel *orderStateLabel;

/**
 订单编号：21564665468741
 */
@property (nonatomic,strong)UILabel *orderNumberLabel;

/**
 下单时间：2018-3-19
 */
@property (nonatomic,strong)UILabel *orderTimeLabel;

- (void)cellForLayout:(OrderBaseModel *)orderModel;

@end




/**
 地址详情
 */
@interface MyOrderDetailAddressTableCell : UITableViewCell

/**
 联系人：陈林
 */
@property (nonatomic,strong)UILabel *contactNameLabel;

/**
 电话
 */
@property (nonatomic,strong)UILabel *contactPhoneLabel;

/**
 地址图标
 */
@property (nonatomic,strong)UIImageView *positionImgView;

/**
 服务地址：上海市xxxxxx
 */
@property (nonatomic,strong)UILabel *serviceAddressLabel;

- (void)cellForLayout:(OrderBaseModel *)orderModel;

@end


/**
 服务师傅
 */
@interface MyOrderDetailServicePersionTableCell : UITableViewCell<HSStarViewDelegate>

@property (nonatomic,strong)UIImageView *headImgView;

@property (nonatomic,strong)UILabel *repairPersonLabel;

@property (nonatomic,strong)UILabel *repairPhoneLabel;

@property (nonatomic,strong)HSStarView *starView;

@property (nonatomic,strong)UIButton *contactRepairsButton;

- (void)cellForLayout:(OrderDetailModel *)orderModel;

@end

NS_ASSUME_NONNULL_END
